package fr.vvins.core.cms.page;

public class PageException extends Exception {

	public static final String NOT_FOUND = "1";

	private String code;
	
	private String message;
	
	public PageException(String code, String message){
		super(message);
		setCode(code);
		setMessage(message);
	}
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Override
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	private static final long serialVersionUID = 6170194419481421344L;

}
